package com.zhucan.commodity.application.consumer.converter;

import com.zhucan.commodity.infrastructure.db.entity.CommodityPO;
import com.zhucan.common.commodity.dto.CommodityDTO;
import org.mapstruct.Mapper;

/**
 * @author zhuCan
 * @description
 * @since 2022-07-07 09:33
 **/
@Mapper(componentModel = "spring")
public interface CommodityConverter {

    CommodityDTO convertDTO(CommodityPO commodity);

}
